#ifndef UISTARTMENU_H
#define UISTARTMENU_H

#include <QDateTime>
#include <QObject>
#include <QGraphicsItem>
#include <QRectF>
#include <QRect>
#include <QPainter>

class UiStartMenu : public QObject, public QGraphicsItem
{
    Q_OBJECT
public:
    explicit UiStartMenu(const QRectF& start_menu_pos, const int& system_style, QGraphicsItem *parent = nullptr);

protected:
    void timerEvent(QTimerEvent* evt);
    QRectF boundingRect() const;
    void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget *widget);

private:
    QRectF start_menu_pos_;
    int system_style_;
    QImage start_menu_image_;
    QImage magnifier_image_;
    QString date_time_str_;

    const QColor light_color_ = QColor(212,208,200);
    const QColor dark_color_  = QColor(64,64,64);

public:


signals:

};

#endif // UISTARTMENU_H
